package com.xixi.dataStructure.tree;

/**
 * @Description: TreeNode
 * @Author: VincentMLiu
 * @Date: 2021-10-28
 * @Version:v1.0
 */
public class TreeNode {

    public int val;
    public TreeNode left;
    public TreeNode right;
    public TreeNode() {}
    public TreeNode(int val) { this.val = val; }
    public TreeNode(int val, TreeNode left, TreeNode right) {
        this.val = val;
        this.left = left;
        this.right = right;
    }


}
